import React, { Component } from 'react';
import MyTabbar from '../components/MyTabbar';
import { Switch } from 'react-router-dom';
import RouteView from '../route/RouteView';
class index extends Component {
  render() {
    return (
      <div>
        <Switch>
          <RouteView routes={this.props.routes}></RouteView>
        </Switch>
        <MyTabbar></MyTabbar>
      </div>
    );
  }
}

export default index;